import http from '@/util/http'

export function delComment (id) {
  return http.delete(`/comments?id=${id}`)
}

export function commentList (search, current, pageSize) {
  return http.post(`/comment/get?pageNo=${current}&pageSize=${pageSize}`, search)
}
